<?xml version="1.0" encoding="UTF-8"?><!-- Copyright 2005 XBRL International. All Rights Reserved. --><?xml-stylesheet type="text/xsl" href="../../testcase.xsl"?><testcase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldte="http://xbrl.org/2005/xbrldt/errors"  name="104-TestCase-HasHypercubeSourceError" description="2.1 to 2.10 - Dimensional relationships except 2.5" outpath="out" owner="ihr@xbrl.org" minimal="true" xsi:schemaLocation="http://xbrl.org/2005/conformance ../../lib/test.xsd">
        <!-- Dimensional taxonomy syntax rules pertaining to schemas and linkbases, and not covered by XML Schema and XBRL Validation. -->
        <!-- Note that XBRL validation requires the source and target of a definitionArc to be a concept. -->
        <!-- As of the 2005-10-26 internal working draft. (Herm) -->
        <!-- 2.3 A set of hypercubes MAY be composed via conjunction of "all" and "notAll" compositors. -->
        <variation id="V-01" name="hasHypercubeAllValid">
                <description reference="XDT-IWD-2005-10-26.doc#2.3">A valid all has-hypercube arc for segment</description>
                <data>
                        <xsd readMeFirst="true">hasHypercubeAllValid.xsd</xsd>
                        <linkbase readMeFirst="false">hasHypercubeAllValid-definition.xml</linkbase>
                        <linkbase readMeFirst="false">hasHypercubeAllValid-label.xml</linkbase>
                </data>
                <result/>
        </variation>
        <variation id="V-02" name="hasHypercubeNotAllValid">
                <description reference="XDT-IWD-2005-10-26.doc#2.3">A valid notAll has-hypercube arc for segment</description>
                <data>
                        <xsd readMeFirst="true">hasHypercubeNotAllValid.xsd</xsd>
                        <linkbase readMeFirst="false">hasHypercubeNotAllValid-definition.xml</linkbase>
                        <linkbase readMeFirst="false">hasHypercubeNotAllValid-label.xml</linkbase>
                </data>
                <result/>
        </variation>
        <variation id="V-03" name="hasHypercubeAllAbsPriItemValid">
                <description reference="XDT-IWD-2005-10-26.doc#2.3">A valid all has-hypercube arc for segment has abstract primary item source</description>
                <data>
                        <xsd readMeFirst="true">hasHypercubeAllAbsPriItemValid.xsd</xsd>
                        <linkbase readMeFirst="false">hasHypercubeAllAbsPriItemValid-definition.xml</linkbase>
                        <linkbase readMeFirst="false">hasHypercubeAllAbsPriItemValid-label.xml</linkbase>
                </data>
                <result/>
        </variation>
        <variation id="V-04" name="hasHypercubeAllTwoCubesValid">
                <description reference="XDT-IWD-2005-10-26.doc#2.2">Two primary items, parent with one hasHypercube child with another to different hypercube, both segment.</description>
                <data>
                        <xsd readMeFirst="true">hasHypercubeAllTwoCubesValid.xsd</xsd>
                        <linkbase readMeFirst="false">hasHypercubeAllTwoCubesValid-definition.xml</linkbase>
                        <linkbase readMeFirst="false">hasHypercubeAllTwoCubesValid-label.xml</linkbase>
                </data>
                <result/>
        </variation>
        <variation id="V-05" name="hasHypercubeAllSubsValid">
                <description reference="XDT-IWD-2005-10-26.doc#2.2">A primary items substituting for an xbrli:item has an all hypercube arc to an element substituting for a xbrldt:hypercubeItem.</description>
                <data>
                        <xsd readMeFirst="true">hasHypercubeAllSubsValid.xsd</xsd>
                        <linkbase readMeFirst="false">hasHypercubeAllSubsValid-definition.xml</linkbase>
                        <linkbase readMeFirst="false">hasHypercubeAllSubsValid-label.xml</linkbase>
                </data>
                <result/>
        </variation>
        <!-- 2.3.1.1 1. A dimensional processor MUST raise an error [Dim Err, 4] xbrldte:HasHypercubeSourceError if the source of an "all" or "notAll" relationship is not a primary item declaration -->
        <variation id="V-06" name="sourceHasHypercubeIsDimensionInvalid">
                <description reference="XDT-IWD-2005-10-26.doc#2.3.1.1">The source of a hasHypercube relationship is not a primary item declaration, in this case it is a dimension item.</description>
                <data>
                        <xsd readMeFirst="true">sourceHasHypercubeIsDimensionInvalid.xsd</xsd>
                        <linkbase readMeFirst="false">sourceHasHypercubeIsDimensionInvalid-definition.xml</linkbase>
                        <linkbase readMeFirst="false">sourceHasHypercubeIsDimensionInvalid-label.xml</linkbase>
                </data>
                <result >
                        <error>xbrldte:HasHypercubeSourceError</error>
                </result>
        </variation>
        <variation id="V-07" name="sourceHasHypercubeIsDimensionSubInvalid">
                <description reference="XDT-IWD-2005-10-26.doc#2.3.1.1">The source of a hasHypercube relationship is not a primary item declaration, in this case it substitutes for a dimension item.</description>
                <data>
                        <xsd readMeFirst="true">sourceHasHypercubeIsDimensionSubInvalid.xsd</xsd>
                        <linkbase readMeFirst="false">sourceHasHypercubeIsDimensionSubInvalid-definition.xml</linkbase>
                        <linkbase readMeFirst="false">sourceHasHypercubeIsDimensionSubInvalid-label.xml</linkbase>
                </data>
                <result >
                        <error>xbrldte:HasHypercubeSourceError</error>
                </result>
        </variation>

</testcase>
